home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / CBASE102.ARJ / ROLODECK.I < prev    next >
Text File  |  1991-09-23  |  2KB  |  104 lines

  1. /*    Copyright (c) 1991 Citadel    */
  2. /*       All Rights Reserved        */
  3.  
  4. /* #ident    "@(#)rolodeck.i    1.5 - 91/09/23" */
  5.  
  6. #ifndef I_ROLODECK    /* prevent multiple includes */
  7. #define I_ROLODECK
  8.  
  9. #include <ansi.h>
  10.  
  11. /* ansi headers */
  12. #ifdef AC_STDDEF
  13. #include <stddef.h>
  14. #endif
  15.  
  16. /* libray headers */
  17. #include <cbase.h>
  18.  
  19. /* local headers */
  20. #include "rolodeck.h"
  21.  
  22. /* field definition list for record rolodeck */
  23. cbfield_t rdfldv[] = {
  24.     {
  25.         offsetof(struct rolodeck, rd_contact),
  26.         sizeofm(struct rolodeck, rd_contact),
  27.         t_string,
  28.         CB_FKEY | CB_FUNIQ,
  29.         "rdcont.ndx"
  30.     },
  31.     {
  32.         offsetof(struct rolodeck, rd_title),
  33.         sizeofm(struct rolodeck, rd_title),
  34.         t_string,
  35.         0,
  36.         NULL
  37.     },
  38.     {
  39.         offsetof(struct rolodeck, rd_company),
  40.         sizeofm(struct rolodeck, rd_company),
  41.         t_string,
  42.         CB_FKEY,
  43.         "rdcomp.ndx"
  44.     },
  45.     {
  46.         offsetof(struct rolodeck, rd_addr),
  47.         sizeofm(struct rolodeck, rd_addr),
  48.         t_string,
  49.         0,
  50.         NULL
  51.     },
  52.     {
  53.         offsetof(struct rolodeck, rd_city),
  54.         sizeofm(struct rolodeck, rd_city),
  55.         t_string,
  56.         0,
  57.         NULL
  58.     },
  59.     {
  60.         offsetof(struct rolodeck, rd_state),
  61.         sizeofm(struct rolodeck, rd_state),
  62.         t_string,
  63.         0,
  64.         NULL
  65.     },
  66.     {
  67.         offsetof(struct rolodeck, rd_zip),
  68.         sizeofm(struct rolodeck, rd_zip),
  69.         t_string,
  70.         0,
  71.         NULL
  72.     },
  73.     {
  74.         offsetof(struct rolodeck, rd_phone),
  75.         sizeofm(struct rolodeck, rd_phone),
  76.         t_string,
  77.         0,
  78.         NULL
  79.     },
  80.     {
  81.         offsetof(struct rolodeck, rd_ext),
  82.         sizeofm(struct rolodeck, rd_ext),
  83.         t_string,
  84.         0,
  85.         NULL
  86.     },
  87.     {
  88.         offsetof(struct rolodeck, rd_fax),
  89.         sizeofm(struct rolodeck, rd_fax),
  90.         t_string,
  91.         0,
  92.         NULL
  93.     },
  94.     {
  95.         offsetof(struct rolodeck, rd_notes),
  96.         sizeofm(struct rolodeck, rd_notes),
  97.         t_string,
  98.         0,
  99.         NULL
  100.     },
  101. };
  102.  
  103. #endif    /* #ifndef I_ROLODECK */
  104.